package main

import "fmt"

/*
*
内存逃逸
*/
func main() {

	ptrResult := ptr()

	fmt.Println("ptr", ptrResult)

}

func ptr() *string {

	city := "DL"

	return &city
}
